package dao;

import bean.Like;
import bean.User;

import java.sql.SQLException;
import java.util.ArrayList;

public interface LikeDao {
    public boolean addLike(Like like);/*添加点赞*/
    public boolean deleteLike(int id);/*删除点赞*/
    public ArrayList<Like> getLikes(User user) throws SQLException;/*返回用户所有的点赞*/
}
